<?php
namespace app\index\controller;
use think\Controller;

class Phone extends Controller
{
    public function index()
    {
        if(request()->isAjax()){

            $mobile = input('param.phoneNum');

            $r = sms_phone($mobile);

            return index_json($r['code'], $r['msg'] , '', '');
        }
    }
}
